<include file="public@header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('member/datum')}">会员资料</a></li>

        <li class="active"><a>编辑管理员</a></li>
    </ul>

    <foreach name="member" item="vo">


    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('member/edit2',array('id'=>$vo['id']))}">
        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>会员名称</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-user_login" name="uname" value="{$vo.uname}">
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_pass" class="col-sm-2 control-label"><span class="form-required">*</span>会员卡号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="input-user_pass" name="card_id" value="{$vo.card_id}" >
            </div>
        </div>
        <div class="form-group">
            <label for="input-user_email" class="col-sm-2 control-label"><span class="form-required">*</span>性别</label>
            <div class="col-md-6 col-sm-10">
                <select class="form-control" name="sex" id="input-user_email">
                    <option value="男">男</option>
                    <option value="女">女</option>
                </select>

            </div>
        </div>

        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>身份证号</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="idnumber" name="idnumber" value="{$vo.idnumber}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>生日</label>
            <div class="col-md-6 col-sm-10">
                <input type="date" class="form-control" id="birthday" name="birthday" value="{$vo.birthday}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>手机</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="mobile" name="mobile" value="{$vo.mobile}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>住址</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="address" name="address" value="{$vo.address}">
            </div>
        </div>



        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>会员余额</label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" id="balance" name="balance" value="{$vo.balance}">
            </div>
        </div>

        <div class="form-group">
            <label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>店铺</label>
            <div class="col-md-6 col-sm-10">

                    <select class="form-control" name="store_id">

                        <foreach name="store_name" item="co">
                            <option>{$co}</option>
                        </foreach>

                    </select>


            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">

                <button type="submit" style="height: 34px;width: 60px">提交</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">返回</a>
                <!--<input type="button" name=”Submit” onClick="javascript :history.back(-1);" value="返回上一页" style="height: 35px;width: 80px">-->
            </div>
        </div>
    </form>
    </foreach>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>